package com.kws.tool.dto;

import com.kws.tool.dto.info.QueryComponentFillingtValueInfo;
import io.swagger.annotations.ApiModelProperty;
import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
 * <b>QueryTemplateFillInUrlRq</b>
 *
 * @description: QueryTemplateFillInUrlRq <br>
 * @date: 2024/11/11 18:03 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryTemplateFillInUrlRq {
    @ApiModelProperty(value = "文件模板ID,必填")
    @NotNull
    private String docTemplateId;

    @ApiModelProperty(value = "自定义业务编号")
    private String customBizNum;

    @ApiModelProperty(value = "用户填写页面是否可以修改预填内容（componentFillingtValues中填写的内容），默认为：true,true - 可修改,false - 不可修改")
    private boolean editFillingValue;

    @ApiModelProperty(value = "指定客户端类型:指定客户端类型 ALL - 自动适配移动端或PC端（默认值） H5 - 移动端适配 ,PC - PC端适配")
    private String clientType;

    @ApiModelProperty(value = "回调通知地址")
    private String notifyUrl;

    @ApiModelProperty(value = "填写模板完成后跳转页面")
    private String redirectUrl;

    @ApiModelProperty(value = "模板控件预填内容列表（控件ID 和 控件Key 二选一传值）")
    private List<QueryComponentFillingtValueInfo> componentFillingtValues;

    @NotNull
    public String getDocTemplateId() {
        return docTemplateId;
    }

    public void setDocTemplateId(@NotNull String docTemplateId) {
        this.docTemplateId = docTemplateId;
    }

    public String getCustomBizNum() {
        return customBizNum;
    }

    public void setCustomBizNum(String customBizNum) {
        this.customBizNum = customBizNum;
    }

    public boolean isEditFillingValue() {
        return editFillingValue;
    }

    public void setEditFillingValue(boolean editFillingValue) {
        this.editFillingValue = editFillingValue;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public List<QueryComponentFillingtValueInfo> getComponentFillingtValues() {
        return componentFillingtValues;
    }

    public void setComponentFillingtValues(List<QueryComponentFillingtValueInfo> componentFillingtValues) {
        this.componentFillingtValues = componentFillingtValues;
    }
}
